package com.sunshine.springboot.service.user;

import com.sunshine.springboot.bean.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Demo class
 *
 * @author WeiHong
 * @date 2018/8/17
 */
public interface IUserInfoService {

    List<User> findByUsername(@Param("userName") String userName);

    /**
     * 插入数据
     * @param user
     * @return
     */
    int insert(User user);
}
